package com.xframe.xdal.core.listener.oracle;


import com.xframe.xdal.core.manage.DBTableInfo;

public class DCNEvent {
    private DBTableInfo dbTableInfo;
    private String rowId;
    private int code;

    public DCNEvent(DBTableInfo dbTableInfo, String rowId, int code) {
        this.dbTableInfo = dbTableInfo;
        this.rowId = rowId;
        this.code = code;
    }

    public DBTableInfo getDBTableInfo(){
        return this.dbTableInfo;
    }

    public String getTableName() {
        return this.dbTableInfo.getTableName();
    }

    public String getRowId() {
        return rowId;
    }

    public int getCode() {
        return code;
    }
}
